#!/usr/bin/python
# -*- coding: utf-8 -*-

"""
Provides a dictionary of QColor
"""

__date__ = "26 avr. 2010"
__author__ = "INRIA pyLot"

__all__ = [
           u'PYLOT_COLORS',
           u'PYLOT_COLOR_FAIL',
           u'PYLOT_COLOR_SUCCESS',
           u'PYLOT_COLOR_RUNNING',
           u'PYLOT_COLOR_DEFAULT'
           ]

from PyQt4.QtGui import QColor

PYLOT_COLORS = {}

PYLOT_COLORS[u'fail'] = PYLOT_COLOR_FAIL = QColor(255, 100, 100, 255)
PYLOT_COLORS[u'success'] = PYLOT_COLOR_SUCCESS = QColor(100, 255, 100, 255)
PYLOT_COLORS[u'running'] = PYLOT_COLOR_RUNNING = QColor(255, 255, 255, 255)
PYLOT_COLORS[u'default'] = PYLOT_COLOR_DEFAULT = QColor(255, 255, 255, 255)

if __name__ == '__main__':
  import doctest
  doctest.testmod()
